<?php

header('content-type:text/html;charset=utf-8');
// file_get_contents:获取接口的数据

$keyword=$_GET['keyword'];

$data=file_get_contents('https://suggest.taobao.com/sug?code=utf-8&q='.$keyword);



echo $data;

